home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1997 July: Mac OS SDK / Dev.CD Jul 97 SDK2.toast / Development Kits (Disc 2) / QuickTime™ VR 2.0 SDK / QTVR C⁄C++ Runtime API / Sample Code / QTVRSamplePlayer / src / qtmovies.h < prev    next >
Encoding:
Text File  |  1997-05-22  |  700 b   |  38 lines  |  [TEXT/CWIE]

  1. // Quicktime support prototypes and variables
  2.  
  3. #ifndef __QTMOVIES__
  4. #define __QTMOVIES__
  5.  
  6. // Application-specific headers
  7. #include "qttypes.h"
  8.  
  9. // API headers
  10. #include "qtvrtypes.h"
  11.  
  12. // System headers
  13. #include <Movies.h>
  14.  
  15. /////
  16. //
  17. // Module data structures
  18. //
  19. /////
  20.  
  21. typedef struct {
  22.     CWindowPtr            Window;                // Window the movie is played in
  23.     MovieStruct            MovieData;            // Data to support a QT Movie
  24.     QTVRStruct            QTVRData;            // Data to support a QTVR movie
  25. } MovieInstance;
  26.  
  27. /////
  28. //
  29. // Module Prototypes
  30. //
  31. /////
  32.  
  33. MovieInstance * GetValidMovieInstance(MovieInstance * theInstance);    // If the movieInstance is nil, make it point to the front window if there is one
  34.  
  35.  
  36. #endif    // #ifndef __QTMOVIES__
  37.  
  38.